home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / Games / catclock / Makefile.dist < prev    next >
Encoding:
Makefile  |  1995-05-03  |  11.8 KB  |  370 lines

  1. # Makefile generated by imake - do not edit!
  2. # $XConsortium: imake.c,v 1.51 89/12/12 12:37:30 jim Exp $
  3. #
  4. # The cpp used on this machine replaces all newlines and multiple tabs and
  5. # spaces in a macro expansion with a single space.  Imake tries to compensate
  6. # for this, but is not always successful.
  7. #
  8.  
  9. ###########################################################################
  10. # Makefile generated from "Imake.tmpl" and <Imakefile>
  11. # $XConsortium: Imake.tmpl,v 1.77 89/12/18 17:01:37 jim Exp $
  12. #
  13. # Platform-specific parameters may be set in the appropriate .cf
  14. # configuration files.  Site-wide parameters may be set in the file
  15. # site.def.  Full rebuilds are recommended if any parameters are changed.
  16. #
  17. # If your C preprocessor doesn't define any unique symbols, you'll need
  18. # to set BOOTSTRAPCFLAGS when rebuilding imake (usually when doing
  19. # "make Makefile", "make Makefiles", or "make World").
  20. #
  21. # If you absolutely can't get imake to work, you'll need to set the
  22. # variables at the top of each Makefile as well as the dependencies at the
  23. # bottom (makedepend will do this automatically).
  24. #
  25.  
  26. ###########################################################################
  27. # platform-specific configuration parameters - edit sco.cf to change
  28.  
  29. # platform:  SCO sco.cf
  30.  
  31. PATH = /bin:/usr/bin:/usr/bin/X11
  32.  
  33. ###########################################################################
  34. # site-specific configuration parameters - edit site.def to change
  35.  
  36. # site:  $XConsortium: site.def,v 1.21 89/12/06 11:46:50 jim Exp $
  37.  
  38.             SHELL = /bin/sh
  39.  
  40.               TOP = .
  41.       CURRENT_DIR = .
  42.  
  43.                AR = ar cq
  44.               ASM = as
  45.   BOOTSTRAPCFLAGS = -Dsco
  46.                CC = cc
  47.  
  48.          COMPRESS = compress
  49.               CPP = /lib/cpp $(STD_CPP_DEFINES)
  50.     PREPROCESSCMD = cc -E $(STD_CPP_DEFINES)
  51.           INSTALL = /etc/install
  52.                LD = ld
  53.              LINT = lint
  54.       LINTLIBFLAG = -o
  55.          LINTOPTS = -ax
  56.                LN = ln
  57.  
  58.              MAKE = make
  59.  
  60.                MV = mv
  61.                CP = cp
  62.            RANLIB = /bin/true
  63.   RANLIBINSTFLAGS =
  64.                RM = rm -f
  65.               MCS = mcs -p
  66.      ASM_INCLUDES = AmsIncludes
  67.   VENDOR_INCLUDES =
  68.      STD_INCLUDES =
  69.   STD_CPP_DEFINES = -Dsco -DSYSV -DUSG -DMALLOC_0_RETURNS_NULL
  70.       STD_DEFINES = -Dsco -DSYSV -DUSG -DMALLOC_0_RETURNS_NULL
  71.  EXTRA_LOAD_FLAGS =
  72.   EXTRA_LIBRARIES = -lsocket -lmalloc -lPW
  73.              TAGS = ctags
  74.  
  75.            MFLAGS = -$(MAKEFLAGS)
  76.  
  77.     PROTO_DEFINES =
  78.  
  79.      INSTPGMFLAGS =
  80.  
  81.      INSTBINFLAGS = -m 0755
  82.      INSTUIDFLAGS = -m 4755
  83.      INSTLIBFLAGS = -m 0664
  84.      INSTINCFLAGS = -m 0444
  85.      INSTMANFLAGS = -m 0444
  86.      INSTDATFLAGS = -m 0444
  87.     INSTKMEMFLAGS = -m 4755
  88.  
  89.           DESTDIR =
  90.  
  91.      TOP_INCLUDES = -I$(INCROOT)
  92.  
  93.     ASMDEBUGFLAGS =
  94.       ASM_DEFINES =
  95.       CDEBUGFLAGS = -O
  96.         CCOPTIONS =
  97.       COMPATFLAGS =
  98.  
  99.       ALLINCLUDES = $(STD_INCLUDES) $(TOP_INCLUDES) $(INCLUDES) $(EXTRA_INCLUDES) $(VENDOR_INCLUDES)
  100.        ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(PROTO_DEFINES) $(DEFINES) $(COMPATFLAGS)
  101.          ASMFLAGS = $(ASMDEBUGFLAGS) $(ASM_DEFINES) $(ASM_INCLUDES)
  102.            CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(ALLDEFINES)
  103.         LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES)
  104.            LDLIBS = $(SYS_LIBRARIES) $(EXTRA_LIBRARIES)
  105.         LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS)
  106.    LDCOMBINEFLAGS = -r
  107.  
  108.         MACROFILE = sco.cf
  109.            RM_CMD = $(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut *.i
  110.  
  111.     IMAKE_DEFINES =
  112.  
  113.          IRULESRC = $(CONFIGDIR)
  114.         IMAKE_CMD = $(IMAKE) -DUseInstalled -I$(IRULESRC) $(IMAKE_DEFINES)
  115.  
  116.      ICONFIGFILES = $(IRULESRC)/Imake.tmpl $(IRULESRC)/Imake.rules \
  117.             $(IRULESRC)/Project.tmpl $(IRULESRC)/site.def \
  118.             $(IRULESRC)/$(MACROFILE) $(EXTRA_ICONFIGFILES)
  119.  
  120. # X Window System Build Parameters
  121. # $XConsortium: Project.tmpl,v 1.63 89/12/18 16:46:44 jim Exp $
  122.  
  123. ###########################################################################
  124. # X Window System make variables; this need to be coordinated with rules
  125. # $XConsortium: Project.tmpl,v 1.63 89/12/18 16:46:44 jim Exp $
  126.  
  127.           PATHSEP = /
  128.         USRLIBDIR = $(DESTDIR)/usr/lib
  129.          SHLIBDIR = $(DESTDIR)/shlib
  130.            ETCDIR = $(DESTDIR)/etc
  131.            BINDIR = $(DESTDIR)/usr/bin/X11
  132.           INCROOT = $(DESTDIR)/usr/include
  133.      BUILDINCROOT = $(TOP)
  134.       BUILDINCDIR = $(BUILDINCROOT)/X11
  135.       BUILDINCTOP = ..
  136.            INCDIR = $(INCROOT)/X11
  137.            ADMDIR = $(DESTDIR)/usr/adm
  138.            LIBDIR = $(USRLIBDIR)/X11
  139.         CONFIGDIR = $(LIBDIR)/config
  140.        LINTLIBDIR = $(USRLIBDIR)/lint
  141.  
  142.           FONTDIR = $(LIBDIR)/fonts
  143.          XINITDIR = $(LIBDIR)/xinit
  144.            XDMDIR = $(LIBDIR)/xdm
  145.            AWMDIR = $(LIBDIR)/awm
  146.            TWMDIR = $(LIBDIR)/twm
  147.            GWMDIR = $(LIBDIR)/gwm
  148.           MANPATH = $(DESTDIR)/usr/man
  149.     MANSOURCEPATH = $(MANPATH)/man
  150.            MANDIR = $(MANSOURCEPATH)n
  151.         LIBMANDIR = $(MANSOURCEPATH)3
  152.       XAPPLOADDIR = $(LIBDIR)/app-defaults
  153.  
  154.        FONTCFLAGS = -t
  155.  
  156.      INSTAPPFLAGS = $(INSTDATFLAGS)
  157.  
  158.             IMAKE = imake
  159.            DEPEND = makedepend
  160.               RGB = rgb
  161.             FONTC = bdftosnf
  162.         MKFONTDIR = mkfontdir
  163.         MKDIRHIER = /bin/sh $(BINDIR)/mkdirhier.sh
  164.  
  165.         CONFIGSRC = $(TOP)/config
  166.         CLIENTSRC = $(TOP)/clients
  167.           DEMOSRC = $(TOP)/demos
  168.            LIBSRC = $(TOP)/lib
  169.           FONTSRC = $(TOP)/fonts
  170.        INCLUDESRC = $(TOP)/X11
  171.         SERVERSRC = $(TOP)/server
  172.           UTILSRC = $(TOP)/util
  173.         SCRIPTSRC = $(UTILSRC)/scripts
  174.        EXAMPLESRC = $(TOP)/examples
  175.        CONTRIBSRC = $(TOP)/../contrib
  176.            DOCSRC = $(TOP)/doc
  177.            RGBSRC = $(TOP)/rgb
  178.         DEPENDSRC = $(UTILSRC)/makedepend
  179.          IMAKESRC = $(CONFIGSRC)
  180.          XAUTHSRC = $(LIBSRC)/Xau
  181.           XLIBSRC = $(LIBSRC)/X
  182.         XLIBSRC_S = $(LIBSRC)/X_s
  183.            XMUSRC = $(LIBSRC)/Xmu
  184.        TOOLKITSRC = $(LIBSRC)/Xt
  185.        AWIDGETSRC = $(LIBSRC)/Xaw
  186.        OLDXLIBSRC = $(LIBSRC)/oldX
  187.       XDMCPLIBSRC = $(LIBSRC)/Xdmcp
  188.       BDFTOSNFSRC = $(FONTSRC)/bdftosnf
  189.      MKFONTDIRSRC = $(FONTSRC)/mkfontdir
  190.      EXTENSIONSRC = $(TOP)/extensions
  191.  
  192.   DEPEXTENSIONLIB = $(USRLIBDIR)/libXext.a
  193.      EXTENSIONLIB =  -lXext
  194.  
  195.           DEPXLIB = $(DEPEXTENSIONLIB) $(USRLIBDIR)/libX11.a
  196.              XLIB = $(EXTENSIONLIB)  -lX11
  197.  
  198.       XLIBARCHIVE = $(EXTENSIONLIB)  -lX11
  199.       DEPXAUTHLIB = $(USRLIBDIR)/libXau.a
  200.          XAUTHLIB =  -lXau
  201.  
  202.         DEPXMULIB = $(USRLIBDIR)/libXmu.a
  203.            XMULIB =  -lXmu
  204.  
  205.        DEPOLDXLIB = $(USRLIBDIR)/liboldX.a
  206.           OLDXLIB =  -loldX
  207.  
  208.       DEPXTOOLLIB = $(USRLIBDIR)/libXt.a
  209.          XTOOLLIB =  -lXt
  210.  
  211.         DEPXAWLIB = $(USRLIBDIR)/libXaw.a
  212.            XAWLIB =  -lXaw
  213.  
  214.  LINTEXTENSIONLIB = $(USRLIBDIR)/llib-lXext.ln
  215.          LINTXLIB = $(USRLIBDIR)/llib-lX11.ln
  216.           LINTXMU = $(USRLIBDIR)/llib-lXmu.ln
  217.         LINTXTOOL = $(USRLIBDIR)/llib-lXt.ln
  218.           LINTXAW = $(USRLIBDIR)/llib-lXaw.ln
  219.  
  220.       USRINCDIR = $(DESTDIR)/usr/include
  221.     MWM_DEFINES =
  222.         TESTSRC = $(TOP)/tests
  223.      TESTSRCLIB = $(TESTSRC)/lib
  224.  
  225.      TESTCOMSRC = $(TESTSRCLIB)/Common
  226.      TESTCOMLIB = $(TESTCOMSRC)/libCommon.a
  227.  
  228.     MTOOLKITSRC = $(LIBSRC)/Xt
  229.      MWIDGETSRC = $(LIBSRC)/Xm
  230.         XTXMSRC = $(LIBSRC)/XtXm_s
  231.    MRESOURCESRC = $(LIBSRC)/Mrm
  232.          UILSRC = $(CLIENTSRC)/uil
  233.             UIL =  uil
  234.       XMTOOLLIB = -lXt
  235.           XMLIB = -lXm
  236.         XTXMLIB = -lXtXm_s
  237.    MRESOURCELIB = -lMrm
  238.          UILLIB = -lUil
  239.   LINTMRESOURCE = -lMrm
  240. LINTXMWIDGETLIB = $(MWIDGETSRC)/llib-l/Xm.ln
  241.      LINTXMTOOL = $(MTOOLKITSRC)/llib-lXt.ln
  242.      LINTUILLIB = $(UILSRC)/llib-lUil.ln
  243.  
  244. ###########################################################################
  245. # Imake rules for building libraries, programs, scripts, and data files
  246. # rules:  $XConsortium: Imake.rules,v 1.70 90/05/04 16:57:30 keith Exp $
  247.  
  248. .SUFFIXES: .i
  249.  
  250. .c.i:
  251.     $(CC) -E $(CFLAGS) $< > $*.i
  252.  
  253. ###########################################################################
  254. # start of Imakefile
  255.  
  256. SRCS = xclock.c alarm.c
  257. OBJS = xclock.o alarm.o
  258.  
  259.      MOTIF = /usr/lib
  260. MOTIF_LIBS = $(MOTIF)/libXm.a $(MOTIF)/libXt.a
  261. MOTIF_INCS = -I$(MOTIF)/lib -I$(MOTIF)/lib/Xt
  262.   INCLUDES = -I. $(MOTIF_INCS) -I$(TOP)
  263.    DEFINES = -DHAS_GNU_EMACS
  264.     CFLAGS = $(DEFINES) $(INCLUDES)
  265.  
  266. LOCAL_LIBRARIES = $(MOTIF_LIBS)
  267.   SYS_LIBRARIES = -lX11 -lm
  268.  
  269. all:: xclock
  270.  
  271.  PROGRAM = xclock
  272.  
  273. all:: xclock
  274.  
  275. xclock: $(OBJS) $(DEPLIBS)
  276.     $(RM) $@; if [ -f $@ ]; then $(MV) $@ $@~; fi ; \
  277.     $(CC) -o $@ $(OBJS) $(LDOPTIONS) $(LOCAL_LIBRARIES) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
  278.  
  279. install:: xclock
  280.     $(INSTALL) -c $(BINDIR) $(INSTPGMFLAGS) $(INSTALLFLAGS) xclock
  281.  
  282. install.man:: xclock.man
  283.     $(INSTALL) -c $(INSTMANFLAGS) xclock.man $(MANDIR)/xclock.n
  284.  
  285. depend::
  286.     $(DEPEND) -s "# DO NOT DELETE" -- $(ALLDEFINES) -- $(SRCS)
  287.  
  288. lint:
  289.     $(LINT) $(LINTFLAGS) $(SRCS) $(LINTLIBS)
  290. lint1:
  291.     $(LINT) $(LINTFLAGS) $(FILE) $(LINTLIBS)
  292.  
  293. clean::
  294.     $(RM) $(PROGRAM)
  295.  
  296. ###########################################################################
  297. # common rules for all Makefiles - do not edit
  298.  
  299. emptyrule::
  300.  
  301. clean::
  302.     $(RM_CMD) \#*
  303.  
  304. Makefile::
  305.     -[ -f Makefile ] && { \
  306.     $(RM) Makefile.bak; $(MV) Makefile Makefile.bak; \
  307.     }
  308.     $(IMAKE_CMD) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR)
  309.  
  310. tags::
  311.     $(TAGS) -w *.[ch]
  312.     $(TAGS) -xw *.[ch] > TAGS
  313.  
  314. ###########################################################################
  315. # empty rules for directories that do not have SUBDIRS - do not edit
  316.  
  317. install::
  318.     @echo "install in $(CURRENT_DIR) done"
  319.  
  320. install.man::
  321.     @echo "install.man in $(CURRENT_DIR) done"
  322.  
  323. Makefiles::
  324.  
  325. includes::
  326.  
  327. ###########################################################################
  328. # dependencies generated by makedepend
  329.  
  330. # DO NOT DELETE
  331.  
  332. xclock.o: /usr/include/stdio.h /usr/include/errno.h /usr/include/sys/errno.h
  333. xclock.o: /usr/include/malloc.h /usr/include/math.h /usr/include/pwd.h
  334. xclock.o: /usr/include/unistd.h /usr/include/sys/types.h
  335. xclock.o: /usr/include/sys/unistd.h /usr/include/X11/Xlib.h
  336. xclock.o: /usr/include/X11/X.h /usr/include/X11/Xos.h /usr/include/string.h
  337. xclock.o: /usr/include/memory.h /usr/include/fcntl.h /usr/include/sys/fcntl.h
  338. xclock.o: /usr/include/sys/file.h /usr/include/time.h
  339. xclock.o: /usr/include/X11/Xutil.h /usr/include/X11/cursorfont.h
  340. xclock.o: /usr/include/X11/Intrinsic.h /usr/include/X11/Xresource.h
  341. xclock.o: /usr/include/X11/Core.h /usr/include/X11/Composite.h
  342. xclock.o: /usr/include/X11/Constraint.h /usr/include/X11/Object.h
  343. xclock.o: /usr/include/X11/RectObj.h /usr/include/X11/Shell.h
  344. xclock.o: /usr/include/X11/StringDefs.h /usr/include/Xm/Xm.h
  345. xclock.o: /usr/include/X11/Vendor.h /usr/include/Xm/VirtKeys.h
  346. xclock.o: /usr/include/Xm/VendorE.h /usr/include/Xm/ExtObject.h
  347. xclock.o: /usr/include/Xm/Form.h /usr/include/Xm/BulletinB.h
  348. xclock.o: /usr/include/Xm/DrawingA.h /usr/include/Xm/PushB.h
  349. xclock.o: /usr/include/Xm/Label.h /usr/include/Xm/ToggleB.h
  350. xclock.o: /usr/include/Xm/MenuShell.h /usr/include/Xm/RowColumn.h
  351. xclock.o: /usr/include/Xm/Separator.h alarm.h catback.xbm catwhite.xbm
  352. xclock.o: cattie.xbm eyes.xbm tail.xbm analog.xbm digital.xbm cat.xbm
  353. xclock.o: patchlevel.h
  354. alarm.o: /usr/include/stdio.h /usr/include/errno.h /usr/include/sys/errno.h
  355. alarm.o: /usr/include/malloc.h /usr/include/signal.h
  356. alarm.o: /usr/include/sys/signal.h /usr/include/strings.h
  357. alarm.o: /usr/include/ctype.h /usr/include/sys/time.h /usr/include/X11/Xlib.h
  358. alarm.o: /usr/include/sys/types.h /usr/include/X11/X.h
  359. alarm.o: /usr/include/X11/Xutil.h /usr/include/X11/Intrinsic.h
  360. alarm.o: /usr/include/X11/Xresource.h /usr/include/X11/Xos.h
  361. alarm.o: /usr/include/string.h /usr/include/memory.h /usr/include/fcntl.h
  362. alarm.o: /usr/include/sys/fcntl.h /usr/include/sys/file.h
  363. alarm.o: /usr/include/unistd.h /usr/include/sys/unistd.h /usr/include/time.h
  364. alarm.o: /usr/include/X11/Core.h /usr/include/X11/Composite.h
  365. alarm.o: /usr/include/X11/Constraint.h /usr/include/X11/Object.h
  366. alarm.o: /usr/include/X11/RectObj.h /usr/include/Xm/Xm.h
  367. alarm.o: /usr/include/X11/Vendor.h /usr/include/Xm/VirtKeys.h
  368. alarm.o: /usr/include/Xm/VendorE.h /usr/include/Xm/ExtObject.h
  369. alarm.o: /usr/include/X11/Shell.h alarm.h bell.xbm
  370.